﻿using HZH_Controls.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Client.样式类
{
	class MusicList
	{
		List<DataGridViewColumnEntity> lstCulumns = new List<DataGridViewColumnEntity>();
		List<object> lstSource;
		public MusicList()
		{
			//WidthType = SizeType.AutoSize
			lstCulumns.Add(new DataGridViewColumnEntity() { DataField = "title", HeadText = "歌曲名", Width = 18, WidthType = SizeType.AutoSize });
			lstCulumns.Add(new DataGridViewColumnEntity() { DataField = "artists", HeadText = "歌手", Width = 8,WidthType = SizeType.AutoSize });
			lstCulumns.Add(new DataGridViewColumnEntity() { DataField = "album", HeadText = "专辑", Width = 10 ,WidthType = SizeType.AutoSize });
			lstSource =new List<object>();

		}
		public List<DataGridViewColumnEntity> getCulumns()
		{
			return lstCulumns;
		}
		public List<object>  getSource()
		{
			return lstSource;
		}
	}
}
